# 努力学习
# 比肩漆时祺和周期许
# from direct import BASE_DIR
# import json
# def read_data():
#     new_list = []
#     with open(BASE_DIR+'\data\get_userlist.json',encoding='utf-8') as f:
#         info=json.load(f)
#         for i in info:
#             data_list=tuple(i.values())
#             new_list.append(data_list)
#
#         print(new_list)
from config import BASE_DIR
import json
def read_json_data(dir_name):

    with open(dir_name,'r',encoding='utf-8') as f:
        a=json.load(f)
        new_list = []
        for i in a:
            new_list.append(tuple(i.values()))
    return new_list
if __name__ == '__main__':
    print(read_json_data())
